import Router from 'koa-router'
import ExampleController from '../controllers/ExampleController'


export const exampleRoute = new Router({
  prefix: '/example'    // 建议每个子路由设置一个url前缀
})

exampleRoute.get('/', ExampleController.example)  //http://localhost:3000/api/v1/example/